//
//  GradientImageView.h
//  Lafaso
//  图片渐变View
//  Created by chengjinliang on 14-7-10.
//  Copyright (c) 2014年 Lafaso. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface GradientImageView : UIView

/**
 * set  url of image
 * @param url  url of image
 */
- (void)setImageWithURL:(NSURL *)url;

/**
 * set placeholder image
 * @param image  placeholder image
 */
- (void)setPlaceholderImage:(UIImage* )image;

/**
 * set url and placeholder image
 * @param url  url of image
 * @param image  placeholder image
 */
- (void)setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder;

/**
 * set placeholder image
 * @param isDisplay  true, display border; false , not
 */
- (void)setBorderDisplay:(BOOL)isDisplay;
@end
